﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ViewALLUnScheduleCourse.aspx.cs" Inherits="UniversityStudentManagemnetSystem.UI.ViewALLUnScheduleCourse" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div align="center">
    <fieldset style="width: 800px; height:680px;">
    <div align="center">
        <fieldset style="width: 300px; height: 200px;">
    <legend style="text-decoration: blink; color: Navy;">View Unscheduled Courses</legend> 
        <br />
       <asp:Label ID="Label1" runat="server" Text="Department"></asp:Label>
&nbsp;&nbsp;
       <asp:DropDownList ID="departmentDropDownList" runat="server" 
           AutoPostBack="True">
       </asp:DropDownList>
            <br />
            &nbsp;
        <asp:Label ID="label" runat="server" Text="Do you want to select the Semester?"></asp:Label>
            <br />
        <asp:Label ID="Label2" runat="server" Text="Yes"></asp:Label>
            &nbsp;&nbsp;<asp:RadioButton ID="yesRadioButton" runat="server" AutoPostBack="True" 
            oncheckedchanged="yesRadioButton_CheckedChanged" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label3" runat="server" Text="No"></asp:Label>
&nbsp;&nbsp;
        <asp:RadioButton ID="noRadioButton" runat="server" 
            oncheckedchanged="NoRadioButton_CheckedChanged" />
        <br />
        <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       <asp:DropDownList ID="semesterDropDownList" runat="server" AutoPostBack="True">
       </asp:DropDownList>
        <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="showButton" runat="server" onclick="showButton_Click" 
            Text="Show" />
            </fieldset>
            </div>
          <div align="center">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="viewMessageLabel" runat="server"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div align="center">
<fieldset style="width: 700px; height:350px">
<legend style="text-align: center; text-decoration: blueviolet; color:Navy;">All UnSchedule Courses</legend>
        <asp:Panel ID="Panel1" runat="server" ScrollBars="Auto" Height="300px" Width="400px">               
        <asp:GridView ID="viewUnScheduleCourseGridView" runat="server" 
            AutoGenerateColumns="False" BackColor="#DEBA84" BorderColor="#DEBA84" 
            BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2">
            <Columns>
                <asp:BoundField DataField="Code" HeaderText="Code" SortExpression="Code" />
                <asp:BoundField DataField="CourseName" HeaderText="Name" 
                    SortExpression="CourseName" />
                <asp:BoundField DataField="Credit" HeaderText="Credit" 
                    SortExpression="Credit" />
                <asp:BoundField DataField="SemesterName" HeaderText="Semester" 
                    SortExpression="SemesterName" />
            </Columns>
            <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
            <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
            <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
            <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
            <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#FFF1D4" />
            <SortedAscendingHeaderStyle BackColor="#B95C30" />
            <SortedDescendingCellStyle BackColor="#F1E5CE" />
            <SortedDescendingHeaderStyle BackColor="#93451F" />
        </asp:GridView>
        </asp:Panel>
        </fieldset>
        </ div>
</fieldset>
    </div>
    
</asp:Content>
